<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8">	
        <style type="text/css">

            #container{
                width:700px;               
                font-size:14px;                       

            }

            #top{
                width:100%;
                float:left;
                background:#CCC;
            }
            #top1{
                width:100%;
                height:20px;
                background:#05B8E4;
            }

            #top2{
                width:100%;
                height:20px;
                text-align:center;
                line-height:20px;
                color:#FF0000;
                border-bottom:1px solid #B6B3AF;
            }

            #main{
                width:698px!important;
                width:100%;           

                float:left;
                color:#000;
                border:1px solid #B6B3AF;
            }

            #main .tiao{
                width:100%;
                height:40px;

            }
            #main .tiao .left{		
                width:30%;
                height:40px;
                text-align:left;
                margin-left:10px;
                line-height:40px;
                float:left;
            }
            #main .description{
                width:100%;
                height:100px;

            }
            #main .description .left{
                width:30%;
                height:100px;
                line-height:100px;
                margin-left:10px;
                text-align:left;
                float:left;			
            }
            #main .description .right{
                width:62%;
                height:100px;
                text-align:left;
                margin-top:12px;
                overflow:hidden;
                float:left;

            }
            #main .description .right textarea{
                width:180px;
                height:80px;
            }
            #main .article{
                width:100%;
                float:left;
                border-bottom:1px solid #B6B3AF;
            }
            #main .ro{
                width:100%;
                height:1px;
                float:left;
                clear:both;
                background:#B6B3AF;
                overflow:hidden;
            }

            #main .tiao .right{
                width:62%;
                height:40px;
                text-align:left;                
                float:left;
            }
            #main .tiao .right input,select {
                margin-top:8px;
                overflow:hidden;

            }


            #footer{
                width:100%;
                height:30px;
                float:left;
                line-height:30px;
                text-align:right;
                background:gray;
            }
        </style>
    </head>	

    <body>
        <div id="container">
            <div id="top">
                <div id="top1">内容管理<?php echo ">" ?>添加文章</div>
                <div id="top2">博客用户，可以添加新文章</div>
            </div>
            <div id="main">
                <form action="<?php echo $url; ?>" method="post">
                    <div class="tiao">
                        <div class="left">
                            文章类别：
                        </div>
                        <div class="right">
                            <select name="categorys">
<?php echo $categorys; ?>
                            </select>
                        </div>	

                    </div>
                    <div class="ro"></div>
                    <div class="tiao">
                        <div class="left">
                            文章标题*：
                        </div>
                        <div class="right">
                            <input type="text" name="title" value="<?php echo @$_articles['title'] ?>" >
                        </div>	

                    </div>
                    <div class="ro"></div>
                    <div class="description">
                        <div class="left">
                            文章摘要：
                        </div>
                        <div class="right">
                            <textarea cols="40" rows="5" name="description" ><?php echo @$_articles['description'] ?></textarea>小于100个汉字
                        </div>	

                    </div>
                    <div class="ro"></div>
                    <div class="tiao">
                        <div class="left">
                            关键字*：
                        </div>
                        <div class="right">
                            <input type="text" name="keywords"  value="<?php echo @$_articles['keywords'] ?>">用于文章搜索，多个请用逗号 ，隔开
                        </div>	

                    </div>

                    <div class="article">

<?php echo $editor; ?>

                    </div>		
                    <div class="tiao">
                        <div class="left">

                        </div>
                        <div class="right">
                            <input type="submit" name="submit" value="提交">
                            <input type="reset" name="reset" value="重置">
                        </div>	

                    </div>

                    <div id="footer">
                        当前脚本执行用时
<?php
getTime();
?>秒
                    </div>
                </form>

            </div>

        </div>	

    </body>
</html>
